﻿using DevExpress.ExpressApp.DC;
using System.ComponentModel;

namespace EasyXaf.EntityDesigner.BusinessObjects.Entities.EntityProperties;

/// <summary>
/// 属性类型
/// </summary>
[Description("属性类型")]
public enum PropertyType
{
	/// <summary>
	/// 字符串(string)
	/// </summary>
	[XafDisplayName("字符串(string)")]
	String,

	/// <summary>
	/// 长字符串(string)
	/// </summary>
	[XafDisplayName("长字符串(string)")]
	LongString,

	/// <summary>
	/// 整型(int)
	/// </summary>
	[XafDisplayName("整型(int)")]
	Integer,

	/// <summary>
	/// 长整型(long)
	/// </summary>
	[XafDisplayName("长整型(long)")]
	Long,

	/// <summary>
	/// 浮点数(float)
	/// </summary>
	[XafDisplayName("浮点数(float)")]
	Float,

	/// <summary>
	/// 双浮点数(double)
	/// </summary>
	[XafDisplayName("双浮点数(double)")]
	Double,

	/// <summary>
	/// 小数(decimal)
	/// </summary>
	[XafDisplayName("小数(decimal)")]
	Decimal,

	/// <summary>
	/// 日期时间(DateTime)
	/// </summary>
	[XafDisplayName("日期时间(DateTime)")]
	DateTime,

	/// <summary>
	/// 布尔型(bool)
	/// </summary>
	[XafDisplayName("布尔型(bool)")]
	Boolean,

	/// <summary>
	/// 枚举(enum)
	/// </summary>
	[XafDisplayName("枚举(enum)")]
	Enumeration,

	/// <summary>
	/// 全局唯一标识符(Guid)
	/// </summary>
	[XafDisplayName("全局唯一标识符(Guid)")]
	Guid,

	/// <summary>
	/// 二进制(byte[])
	/// </summary>
	[XafDisplayName("二进制(byte[])")]
	Binary,

	/// <summary>
	/// 图像(Image)
	/// </summary>
	[XafDisplayName("图像(Image)")]
	Image,

	/// <summary>
	/// 文件(File)
	/// </summary>
	[XafDisplayName("文件(File)")]
	File,

	/// <summary>
	/// 实体(Entity)
	/// </summary>
	[XafDisplayName("实体(Entity)")]
	Entity,

	/// <summary>
	/// 实体集合(EntityCollection)
	/// </summary>
	[XafDisplayName("实体集合(EntityCollection)")]
	EntityCollection,

	/// <summary>
	/// 未知类型
	/// </summary>
	[XafDisplayName("未知类型")]
	Unknown = 99,
}
